<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('选择机场')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-area_id" data-rule="required" data-source="area/indexCityAir" data-params='{"custom[in_out]":"1","custom[area_type]":"2"}' class="form-control selectpage" name="row[area_id]" type="text" value="{$row.area_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('En_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-en_name" class="form-control" name="row[en_name]" type="text" value="{$row.en_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address" style="width:75%" data-rule="required" class="form-control" name="row[address]" type="text" value="{$row.address|htmlentities}"><span><button type="button" class="btn btn-danger" data-toggle="addresspicker" data-input-id="c-address" data-lat-id="c-lat" data-lng-id="c-lng">选择经纬度</button></span>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lng')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-lng" class="form-control" name="row[lng]" type="text" value="{$row.lng|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lat')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-lat" class="form-control" name="row[lat]" type="text" value="{$row.lat|htmlentities}">
        </div>
    </div>
    <!--
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Airport_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-airport_image" class="form-control" size="50" name="row[airport_image]" type="text" value="{$row.airport_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-airport_image" class="btn btn-danger faupload" data-input-id="c-airport_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-airport_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-airport_image" class="btn btn-primary fachoose" data-input-id="c-airport_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-airport_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-airport_image"></ul>
        </div>
    </div>
    -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Three_char')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-three_char" class="form-control" name="row[three_char]" type="text" value="{$row.three_char|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Four_char')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-four_char" class="form-control" name="row[four_char]" type="text" value="{$row.four_char|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zone_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zone_name" class="form-control" name="row[zone_name]" type="text" value="{$row.zone_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Info_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-info_type" class="form-control" name="row[info_type]" type="text" value="{$row.info_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Info_open')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-info_open" class="form-control" name="row[info_open]" type="text" value="{$row.info_open|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Info_altitude')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-info_altitude" class="form-control" name="row[info_altitude]" type="text" value="{$row.info_altitude|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Info_length')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-info_length" class="form-control" name="row[info_length]" type="text" value="{$row.info_length|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Info_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-info_time" class="form-control" name="row[info_opentime]" type="text" value="{$row.info_opentime}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Service_proper')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-service_proper" class="form-control" name="row[service_proper]" type="text" value="{$row.service_proper|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Service_open')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-service_open" class="form-control" name="row[service_open]" type="text" value="{$row.service_open|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Service_channel')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-service_channel" class="form-control" name="row[service_channel]" type="text" value="{$row.service_channel|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Service_stop')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-service_stop" class="form-control" name="row[service_stop]" type="text" value="{$row.service_stop|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
